<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Http\Requests;


class IndexController extends Controller
{
    public function index(){

        return "这里是首页";
    }

    public  function  login(){
        session(['admin'=>222]);
        return "这里是登录";
    }
}
